/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.cost.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.cost.entity.Cost;
import com.jeeplus.modules.cost.mapper.CostMapper;

/**
 * 费用设置Service
 * @author zhych
 * @version 2022-07-16
 */
@Service
@Transactional(readOnly = true)
public class CostService extends CrudService<CostMapper, Cost> {

	public Cost get(String id) {
		return super.get(id);
	}
	
	public List<Cost> findList(Cost cost) {
		return super.findList(cost);
	}
	
	public Page<Cost> findPage(Page<Cost> page, Cost cost) {
		return super.findPage(page, cost);
	}
	
	@Transactional(readOnly = false)
	public void save(Cost cost) {
		super.save(cost);
	}
	
	@Transactional(readOnly = false)
	public void delete(Cost cost) {
		super.delete(cost);
	}
	
}